package ch.zbw.timeline.client;

import java.rmi.Naming;
import java.rmi.RemoteException;

import org.apache.log4j.Logger;

import ch.zbw.timeline.client.domain.Connection;
import ch.zbw.timeline.client.ui.ClientPresenter;
import ch.zbw.timeline.client.ui.ClientViewMain;
import ch.zbw.timeline.server.domain.Server;

public class ClientApp {

	private final static String SERVER = "//127.0.0.1/timeline-server";

	/**
	 * Main method
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		Server model = Connection.connectToServer(SERVER);
		ClientViewMain view = new ClientViewMain();
		new ClientPresenter(view, model);
	}

	

}
